<%--
  Created by IntelliJ IDEA.
  User: 宋晓博
  Date: 2022/1/10
  Time: 12:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="static/bootstrap-3.4.1-dist/css/bootstrap.css">
    <meta charset="UTF-8">
    <title>账号注册</title>
    <c:import url="header.jsp"></c:import>
    <style type="text/css">
        .glyphicon-remove-sign {
            display: none;
        }
        .glyphicon-ok-circle {
            display: none;
        }
        .anniu {
             width: 100%;
        }
    </style>
</head>
<body>
<script type="text/javascript" src="static/bootstrap-3.4.1-dist/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="static/bootstrap-3.4.1-dist/js/bootstrap.js"></script>
<script type="text/javascript" src="static/js/regist.js"></script>
<div class="container">
    <div class="col-md-6 col-lg-offset-3">
        <h3 class="text-center">注册京东账号</h3>
        <form action="/user/regist" method="post" id="froms">
            <div class="form-group has-success has-feedback">
                <label for="username" class="col-md-2 control-label">用户名</label>
                <span class="glyphicon glyphicon-ok-circle form-control-feedback" id="correct1"></span>
                <input type="text" class="form-control" id="username" name="name" placeholder="设置你的用户名">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error1"></span>
                <span id="helpBlock1" class="help-block"></span>
            </div>
            <div class="form-group has-success has-feedback ">
                <label for="password" class="col-md-3 control-label">密码</label>
                <input type="password" class="form-control" id="password" name="password" placeholder="设置你的密码">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error2"></span>
                <span id="helpBlock2" class="help-block"></span>
            </div>
            <div class="form-group has-success has-feedback">
                <label for="password" class="col-md-3 control-label">确认密码</label>
                <input type="password" class="form-control" id="passwordconfrom" placeholder="确认你的密码">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error3"></span>
                <span id="helpBlock3" class="help-block"></span>
            </div>
            <div class="form-group has-success has-feedback">
                <label for="username" class="col-md-3 control-label">真实姓名</label>
                <input type="text" class="form-control" id="realname" name="realName" placeholder="告诉我们你的真实姓名">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error4"></span>
                <span id="helpBlock4" class="help-block">输入你的真实姓名</span>
            </div>
            <div class="form-group has-success has-feedback">
                <div class="row">
                    <label for="username" class="col-md-3 control-label">性别</label>
                    <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error5"></span>
                </div>
                <div class="checkbox">
                    <label class="radio-inline">
                        <input type="radio" id="male" value="男" name="sex">
                        男
                    </label>
                    <label class="radio-inline">
                        <input type="radio" id="female" value="女" name="sex">
                        女
                    </label>
                </div>
                <span id="helpBlock5" class="help-block">单击选择你的性别</span>
            </div>
            <div class="form-group has-success has-feedback">
                <label for="username" class="col-md-3 control-label">手机号</label>
                <input type="tel" class="form-control" id="tel" name="tel" placeholder="请输入你的手机号">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error6"></span>
                <span id="helpBlock6" class="help-block"></span>
            </div>
            <div class="form-group has-success has-feedback">
                <label for="username" class="col-md-3 control-label">邮箱</label>
                <input type="email" class="form-control" id="email" name="email" placeholder="请输入你的邮箱">
                <span class="glyphicon glyphicon-remove-sign form-control-feedback" id="error7"></span>
                <span id="helpBlock7" class="help-block"></span>
            </div>
            <div class="form-group">
                <div class="col-md-6">
                    <button type="reset" class="btn btn-default anniu">清空</button>
                </div>
                <div class="col-md-6">
                    <button type="submit" class="btn btn-primary anniu">注册</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>
